﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucLogin.ascx.cs" Inherits="ucControl_ucLogin" %>

<script language="javascript" type="text/javascript">
    function UpdateParentsLogin() {
        tb_remove();
        window.parent.location = "Default.aspx";
    }
</script>


    <div id="Box">
        <div class="box">
            <div class="bnt_close">
                <a href="#">
                    <img src="images/login/bnt_close.png" width="50" height="50" /></a></div>
            <div class="boxW">
                <div class="boxT">
                </div>
                <div class="boxC">
                <asp:Panel ID="Panel1" runat="server" DefaultButton="cmdLogin">
                    <table class="table_page" width="560px" cellpadding="0" cellspacing="1">
                        <tr>
                            <td colspan="2">
                                <h2 style="border-bottom: dashed 1px #999;">
                                    Đăng nhập</h2>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Label ID="lblMessage" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecell1">
                                Tên đăng nhập
                            </td>
                            <td class="tablecell1">
                                <div class="img_login1">
                                    <asp:TextBox ID="txtUsername" runat="server" class="textbox2"></asp:TextBox></div>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecell1">
                                Mật khẩu
                            </td>
                            <td class="tablecell1">
                                <div class="img_login1">
                                    <%--<input name="pass" type="text" value="nhập mật khẩu"  />--%>
                                    <asp:TextBox ID="txtPassword" runat="server" class="textbox2" 
                                        TextMode="Password"></asp:TextBox>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecell1">
                                &nbsp;
                            </td>
                            <td class="tablecell1">
                                <p>
                                    <a href="#">Quên mật khẩu</a> | <a href="#">Đăng ký mới</a></p>
                        </tr>
                        <tr>
                            <td class="tablecell1" align="center" colspan="2">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="tablecell1" align="center" colspan="2">
                                <asp:ImageButton ID="cmdLogin" runat="server" ImageUrl="~/images/login/bnt_login.png"
                                    Width="140" Height="40" OnClick="cmdLogin_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: center" colspan="2">
                                <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                                    <ProgressTemplate>
                                        <asp:Image ID="imgLoading" runat="server" ToolTip="Loading..." ImageUrl="~/images/loadingAnimation.gif"
                                            Style="border-width: 0px;" />
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
                            </td>
                        </tr>
                    </table>
                    </asp:Panel>
                </div>
                <div class="boxB">
                </div>
            </div>
        </div>
    </div>